package com.buer.train.business.dao;

import com.buer.train.business.domain.CertificateDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 培训证书
 * @date 2021-05-24 16:04:11
 */
@Mapper
public interface CertificateDao {

	CertificateDO get(Integer id);
	
	List<CertificateDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CertificateDO certificate);
	
	int update(CertificateDO certificate);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    List<CertificateDO> getCertificateList(Map<String, Object> map);

    CertificateDO getOne(Map<String, Object> map);
}
